/*


 */

package httpserver1;

import jas.http.request.HttpRequest;
import jas.http.response.HttpResponse;
import jas.http.response.HttpResponseFactory;
import jas.http.response.ResponseCode;

/**
 * Always responds with BAD REQUEST.
 * 
 *
 */
public class BadHttpResponseFactory implements HttpResponseFactory {

    public HttpResponse createResponse(HttpRequest request) {
        return HttpResponse.createStandardResponse(ResponseCode.BAD_REQUEST);
    }

}
